Description
Create a new document in the input folder. You can initialize the document properties using the 'properties' parameter. The properties are specified as
key=value pairs separated by a new line. The key used for a property is the property xpath. To specify multi-line values, you can use a \ character followed by a new line.
Example:
dc:title=The Document Title
dc:description=foo bar
. Returns the created document.
Operation id | Document.Create |
Category | Document |
Label | Create |
Requires | |
Since | |
Parameters
Signature
Inputs | document, documents |
Outputs | document, documents |
Implementation Information
JSON Definition
{
"id" : "Document.Create",
"label" : "Create",
"category" : "Document",
"requires" : null,
"description" : "Create a new document in the input folder. You can initialize the document properties using the 'properties' parameter. The properties are specified as <i>key=value</i> pairs separated by a new line. The key used for a property is the property xpath. To specify multi-line values, you can use a \\ character followed by a new line. <p>Example:<pre>dc:title=The Document Title<br>dc:description=foo bar</pre>. Returns the created document.",
"url" : "Document.Create",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "type",
"description" : null,
"type" : "string",
"required" : true,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "name",
"description" : null,
"type" : "string",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
}, {
"name" : "properties",
"description" : null,
"type" : "properties",
"required" : false,
"widget" : null,
"order" : 0,
"values" : [ ]
} ]
}